package com.neu.cpsp.dao;

import com.neu.cpsp.pojo.RegulationTimes;
import org.springframework.stereotype.Repository;

@Repository
public interface RegulationTimesMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(RegulationTimes record);

    int insertSelective(RegulationTimes record);

    RegulationTimes selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(RegulationTimes record);

    int updateByPrimaryKey(RegulationTimes record);

    int deleteByRegulationDetailId(Integer id);

    int maxTimesByDetailId(Integer regulationDetailId);

    RegulationTimes selectByDetailIdAndTimes(Integer regulationDetailId,Integer times);
}